-- GENERATED SPELL FOR [Silverback Patriarch] --


function spell0_1558(pUnit, Event) --@Backhand,n/a--
pUnit:FullCastSpellOnTarget(6253,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1558', 2283, 1)
end

function Sorts_1558(pUnit, Event)
local choix_sorts_1558 = math.random(0, 0)
if choix_sorts_1558 == 0 then
pUnit:RegisterEvent('spell0_1558', 1, 1)
end
end

function mob1558_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1558', math.random(1500, 3000), 1)
end

function mob1558_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1558_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1558_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1558, 1, 'mob1558_Action')
RegisterUnitEvent(1558, 2, 'mob1558_Leave')
RegisterUnitEvent(1558, 3, 'mob1558_Kill')
RegisterUnitEvent(1558, 4, 'mob1558_Die')
